//
//  WXPPrivacyAgreementVC.m
//  MexicoLoan
//
//  Created by wxp on 2025/2/26.
//

#import "WXPPrivacyAgreementVC.h"

@interface WXPPrivacyAgreementVC ()

@end

@implementation WXPPrivacyAgreementVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navView resetViewWithTitle:@"Acuerdo de Privacidad"];
    
    self.navView.btnService.hidden = !isStr([GlobalData sharedInstance].Global_Token);
}

- (void)loadWebView{
    // 打点
    [GlobalMethod hitPointWithPageName:KEY_Agreement action:KEY_Enter extInfo:@{@"type": @"Privacy"}];
    NSString * html = [NSString stringWithFormat:@"%@/contract/privacyagreement.html",DOMAIN_NAME];
    [self.webView loadRequest:[[NSURLRequest alloc] initWithURL:[NSURL URLWithString:html]]];
}

@end
